package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.Visit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.visit.VisitAddReqDTO;
import com.yixin.hospital.entity.dto.req.visit.VisitHerbalDrugReqDTO;
import com.yixin.hospital.entity.dto.req.visit.VisitPatientCheckReqDTO;
import com.yixin.hospital.entity.dto.req.visit.VisitSubPackageDrugReqDTO;

/**
* @author Administrator
* @description 针对表【visit(就诊表)】的数据库操作Service
* @createDate 2024-11-13 17:12:41
*/
public interface VisitService extends IService<Visit> {

    ApiResult<?> add(VisitAddReqDTO visitAddReqDTO, String userName);

    ApiResult<?> updateStauts(VisitAddReqDTO visitAddReqDTO, String userName);

    ApiResult<?> detailVisitDrug(String guidanceCode);

    ApiResult<?> addVisitSubPackageDrug(VisitSubPackageDrugReqDTO visitSubPackageDrugReqDTO, Long userId, String userName);

    ApiResult<?> addVisitHerbalDrug(VisitHerbalDrugReqDTO visitHerbalDrugReqDTO, String userName);

    ApiResult<?> addVisitPatientCheck(VisitPatientCheckReqDTO visitPatientCheckReqDTO, String userName);
}
